.class Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;
.super Ljava/lang/Object;
.source "DownloadNotification.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;
    }
.end annotation


# static fields
.field static final LOGTAG:Ljava/lang/String; = "DownloadNotification"

.field static final WHERE_COMPLETED:Ljava/lang/String; = "status >= \'200\' AND visibility == \'1\'"

.field static final WHERE_RUNNING:Ljava/lang/String; = "(status >= \'100\') AND (status <= \'199\') AND (visibility IS NULL OR visibility == \'0\' OR visibility == \'1\')"


# instance fields
.field mContext:Landroid/content/Context;

.field mNotifications:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/Long;",
            "Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;",
            ">;"
        }
    .end annotation
.end field

.field private mSystemFacade:Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;)V
    .registers 4
    .param p1, "ctx"    # Landroid/content/Context;
    .param p2, "systemFacade"    # Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;

    .prologue
    .line 96
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 97
    iput-object p1, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    .line 98
    iput-object p2, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mSystemFacade:Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;

    .line 99
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    .line 100
    return-void
.end method

.method private getDownloadingText(JJ)Ljava/lang/String;
    .registers 12
    .param p1, "totalBytes"    # J
    .param p3, "currentBytes"    # J

    .prologue
    .line 283
    const-wide/16 v4, 0x0

    cmp-long v3, p1, v4

    if-gtz v3, :cond_9

    .line 284
    const-string v3, "0%"

    .line 290
    :goto_8
    return-object v3

    .line 286
    :cond_9
    const-wide/16 v4, 0x64

    mul-long/2addr v4, p3

    div-long v0, v4, p1

    .line 287
    .local v0, "progress":J
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    .line 288
    .local v2, "sb":Ljava/lang/StringBuilder;
    invoke-virtual {v2, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    .line 289
    const/16 v3, 0x25

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 290
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_8
.end method

.method private isActiveAndVisible(Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;)Z
    .registers 4
    .param p1, "download"    # Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;

    .prologue
    .line 272
    const/16 v0, 0x64

    iget v1, p1, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    if-gt v0, v1, :cond_13

    iget v0, p1, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    const/16 v1, 0xc8

    if-ge v0, v1, :cond_13

    iget v0, p1, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mVisibility:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_13

    const/4 v0, 0x1

    :goto_12
    return v0

    :cond_13
    const/4 v0, 0x0

    goto :goto_12
.end method

.method private isCompleteAndVisible(Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;)Z
    .registers 5
    .param p1, "download"    # Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;

    .prologue
    const/4 v0, 0x1

    .line 276
    iget v1, p1, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    const/16 v2, 0xc8

    if-lt v1, v2, :cond_c

    iget v1, p1, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mVisibility:I

    if-ne v1, v0, :cond_c

    :goto_b
    return v0

    :cond_c
    const/4 v0, 0x0

    goto :goto_b
.end method

.method private updateActiveNotification(Ljava/util/Collection;)V
    .registers 34
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection",
            "<",
            "Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 112
    .local p1, "downloads":Ljava/util/Collection;, "Ljava/util/Collection<Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;>;"
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Ljava/util/HashMap;->clear()V

    .line 114
    invoke-interface/range {p1 .. p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v23

    :cond_d
    :goto_d
    invoke-interface/range {v23 .. v23}, Ljava/util/Iterator;->hasNext()Z

    move-result v24

    if-eqz v24, :cond_d9

    invoke-interface/range {v23 .. v23}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v15

    check-cast v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;

    .line 115
    .local v15, "download":Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;
    move-object/from16 v0, p0

    invoke-direct {v0, v15}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->isActiveAndVisible(Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;)Z

    move-result v24

    if-eqz v24, :cond_d

    .line 119
    iget-object v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mPackage:Ljava/lang/String;

    move-object/from16 v22, v0

    .line 120
    .local v22, "packageName":Ljava/lang/String;
    iget-wide v10, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mTotalBytes:J

    .line 121
    .local v10, "max":J
    iget-wide v8, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mCurrentBytes:J

    .line 122
    .local v8, "progress":J
    iget-wide v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mId:J

    move-wide/from16 v20, v0

    .line 123
    .local v20, "id":J
    iget-object v7, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mTitle:Ljava/lang/String;

    .line 124
    .local v7, "title":Ljava/lang/String;
    if-eqz v7, :cond_37

    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v24

    if-nez v24, :cond_47

    .line 125
    :cond_37
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v24, v0

    invoke-virtual/range {v24 .. v24}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v24

    sget v25, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_download_unknown_title:I

    invoke-virtual/range {v24 .. v25}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v7

    .line 128
    :cond_47
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    move-object/from16 v24, v0

    monitor-enter v24

    .line 129
    :try_start_4e
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    move-object/from16 v25, v0

    invoke-static/range {v20 .. v21}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v26

    invoke-virtual/range {v25 .. v26}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v25

    if-nez v25, :cond_c5

    .line 130
    iget v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    move/from16 v25, v0

    const/16 v26, 0xc0

    move/from16 v0, v25

    move/from16 v1, v26

    if-ne v0, v1, :cond_cb

    .line 131
    new-instance v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;

    invoke-direct {v6}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;-><init>()V

    .line 132
    .local v6, "item":Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;
    move-wide/from16 v0, v20

    iput-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mId:J

    .line 133
    move-object/from16 v0, v22

    iput-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mPackageName:Ljava/lang/String;

    .line 134
    iget-object v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mDescription:Ljava/lang/String;

    move-object/from16 v25, v0

    move-object/from16 v0, v25

    iput-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mDescription:Ljava/lang/String;

    .line 135
    iget v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    move/from16 v25, v0

    move/from16 v0, v25

    iput v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mStatus:I

    .line 136
    invoke-virtual/range {v6 .. v11}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->addItem(Ljava/lang/String;JJ)V

    .line 137
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    move-object/from16 v25, v0

    iget-wide v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mId:J

    move-wide/from16 v26, v0

    invoke-static/range {v26 .. v27}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v26

    move-object/from16 v0, v25

    move-object/from16 v1, v26

    invoke-virtual {v0, v1, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 138
    iget v0, v15, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    move/from16 v25, v0

    const/16 v26, 0xc4

    move/from16 v0, v25

    move/from16 v1, v26

    if-ne v0, v1, :cond_c5

    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mPausedText:Ljava/lang/String;

    move-object/from16 v25, v0

    if-nez v25, :cond_c5

    .line 139
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    invoke-virtual/range {v25 .. v25}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v25

    sget v26, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_need_wifi_for_size:I

    invoke-virtual/range {v25 .. v26}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v25

    move-object/from16 v0, v25

    iput-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mPausedText:Ljava/lang/String;

    .line 145
    .end local v6    # "item":Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;
    :cond_c5
    :goto_c5
    monitor-exit v24

    goto/16 :goto_d

    :catchall_c8
    move-exception v23

    monitor-exit v24
    :try_end_ca
    .catchall {:try_start_4e .. :try_end_ca} :catchall_c8

    throw v23

    .line 142
    :cond_cb
    :try_start_cb
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mSystemFacade:Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;

    move-object/from16 v25, v0

    move-object/from16 v0, v25

    move-wide/from16 v1, v20

    invoke-interface {v0, v1, v2}, Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;->cancelNotification(J)V
    :try_end_d8
    .catchall {:try_start_cb .. :try_end_d8} :catchall_c8

    goto :goto_c5

    .line 149
    .end local v7    # "title":Ljava/lang/String;
    .end local v8    # "progress":J
    .end local v10    # "max":J
    .end local v15    # "download":Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;
    .end local v20    # "id":J
    .end local v22    # "packageName":Ljava/lang/String;
    :cond_d9
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mNotifications:Ljava/util/HashMap;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Ljava/util/HashMap;->values()Ljava/util/Collection;

    move-result-object v23

    invoke-interface/range {v23 .. v23}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v24

    :goto_e7
    invoke-interface/range {v24 .. v24}, Ljava/util/Iterator;->hasNext()Z

    move-result v23

    if-eqz v23, :cond_34f

    invoke-interface/range {v24 .. v24}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;

    .line 151
    .restart local v6    # "item":Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;
    new-instance v12, Landroid/support/v4/app/NotificationCompat$Builder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    invoke-direct {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;)V

    .line 152
    .local v12, "builder":Landroid/support/v4/app/NotificationCompat$Builder;
    const/16 v23, 0x2

    move/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setPriority(I)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 153
    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mPausedText:Ljava/lang/String;

    move-object/from16 v23, v0

    if-eqz v23, :cond_2a4

    const/16 v17, 0x1

    .line 154
    .local v17, "hasPausedText":Z
    :goto_10f
    const v18, 0x1080082

    .line 155
    .local v18, "iconResource":I
    if-eqz v17, :cond_117

    .line 156
    const v18, 0x108008a

    .line 158
    :cond_117
    move/from16 v0, v18

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 159
    const/16 v23, 0x1

    move/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setOngoing(Z)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 161
    const/16 v16, 0x0

    .line 162
    .local v16, "hasContentText":Z
    new-instance v7, Ljava/lang/StringBuilder;

    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitles:[Ljava/lang/String;

    move-object/from16 v23, v0

    const/16 v25, 0x0

    aget-object v23, v23, v25

    move-object/from16 v0, v23

    invoke-direct {v7, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 163
    .local v7, "title":Ljava/lang/StringBuilder;
    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitleCount:I

    move/from16 v23, v0

    const/16 v25, 0x1

    move/from16 v0, v23

    move/from16 v1, v25

    if-le v0, v1, :cond_2a8

    .line 164
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    sget v25, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_filename_separator:I

    move-object/from16 v0, v23

    move/from16 v1, v25

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 165
    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitles:[Ljava/lang/String;

    move-object/from16 v23, v0

    const/16 v25, 0x1

    aget-object v23, v23, v25

    move-object/from16 v0, v23

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 166
    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitleCount:I

    move/from16 v23, v0

    const/16 v25, 0x2

    move/from16 v0, v23

    move/from16 v1, v25

    if-le v0, v1, :cond_19b

    .line 167
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    sget v25, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_filename_extras:I

    const/16 v26, 0x1

    move/from16 v0, v26

    new-array v0, v0, [Ljava/lang/Object;

    move-object/from16 v26, v0

    const/16 v27, 0x0

    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitleCount:I

    move/from16 v28, v0

    add-int/lit8 v28, v28, -0x2

    .line 168
    invoke-static/range {v28 .. v28}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v28

    aput-object v28, v26, v27

    .line 167
    move-object/from16 v0, v23

    move/from16 v1, v25

    move-object/from16 v2, v26

    invoke-virtual {v0, v1, v2}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 174
    :cond_19b
    :goto_19b
    invoke-virtual {v12, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 176
    if-eqz v17, :cond_2bf

    .line 177
    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mPausedText:Ljava/lang/String;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 206
    :cond_1a9
    :goto_1a9
    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mStatus:I

    move/from16 v23, v0

    const/16 v25, 0xc8

    move/from16 v0, v23

    move/from16 v1, v25

    if-eq v0, v1, :cond_21a

    .line 207
    new-instance v14, Landroid/content/Intent;

    const-string v23, "com.zuimeia.sdk.download.cancel_by_hand"

    move-object/from16 v0, v23

    invoke-direct {v14, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 208
    .local v14, "cancelIt":Landroid/content/Intent;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    invoke-virtual/range {v23 .. v23}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v14, v0}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    .line 209
    new-instance v13, Landroid/os/Bundle;

    invoke-direct {v13}, Landroid/os/Bundle;-><init>()V

    .line 210
    .local v13, "bundle":Landroid/os/Bundle;
    const-string v23, "com.zuimeia.sdk.download_download_id"

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mId:J

    move-wide/from16 v26, v0

    move-object/from16 v0, v23

    move-wide/from16 v1, v26

    invoke-virtual {v13, v0, v1, v2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V

    .line 211
    const-string v23, "com.zuimeia.sdk.download_download_status"

    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mStatus:I

    move/from16 v25, v0

    move-object/from16 v0, v23

    move/from16 v1, v25

    invoke-virtual {v13, v0, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 212
    invoke-virtual {v14, v13}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 213
    sget v23, Lcom/zuimeia_sdk_download/downloadprovider/R$drawable;->zuimeia_sdk_download_download_cancel:I

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v25, v0

    sget v26, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_cancel:I

    invoke-virtual/range {v25 .. v26}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v25

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v26, v0

    const/16 v27, 0x0

    const/high16 v28, 0x10000000

    .line 214
    move-object/from16 v0, v26

    move/from16 v1, v27

    move/from16 v2, v28

    invoke-static {v0, v1, v14, v2}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v26

    .line 213
    move/from16 v0, v23

    move-object/from16 v1, v25

    move-object/from16 v2, v26

    invoke-virtual {v12, v0, v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->addAction(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 217
    .end local v13    # "bundle":Landroid/os/Bundle;
    .end local v14    # "cancelIt":Landroid/content/Intent;
    :cond_21a
    new-instance v19, Landroid/content/Intent;

    const-string v23, "com.zuimeia.sdk.download.DOWNLOAD_LIST"

    move-object/from16 v0, v19

    move-object/from16 v1, v23

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 218
    .local v19, "intent":Landroid/content/Intent;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    const-class v25, Lcom/zuimeia/sdk/download/providers/downloads/ZMDownloadReceiver;

    invoke-virtual/range {v25 .. v25}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v25

    move-object/from16 v0, v19

    move-object/from16 v1, v23

    move-object/from16 v2, v25

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;

    .line 219
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    invoke-static/range {v23 .. v23}, Lcom/zuimeia/sdk/download/providers/downloads/Downloads;->getAllDownloadsContentURI(Landroid/content/Context;)Landroid/net/Uri;

    move-result-object v23

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mId:J

    move-wide/from16 v26, v0

    move-object/from16 v0, v23

    move-wide/from16 v1, v26

    invoke-static {v0, v1, v2}, Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;

    move-result-object v23

    move-object/from16 v0, v19

    move-object/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 220
    const-string v25, "multiple"

    iget v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTitleCount:I

    move/from16 v23, v0

    const/16 v26, 0x1

    move/from16 v0, v23

    move/from16 v1, v26

    if-le v0, v1, :cond_34b

    const/16 v23, 0x1

    :goto_267
    move-object/from16 v0, v19

    move-object/from16 v1, v25

    move/from16 v2, v23

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 222
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    const/16 v25, 0x0

    const/16 v26, 0x0

    move-object/from16 v0, v23

    move/from16 v1, v25

    move-object/from16 v2, v19

    move/from16 v3, v26

    invoke-static {v0, v1, v2, v3}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 224
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mSystemFacade:Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;

    move-object/from16 v23, v0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mId:J

    move-wide/from16 v26, v0

    invoke-virtual {v12}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    move-result-object v25

    move-object/from16 v0, v23

    move-wide/from16 v1, v26

    move-object/from16 v3, v25

    invoke-interface {v0, v1, v2, v3}, Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;->postNotification(JLandroid/app/Notification;)V

    goto/16 :goto_e7

    .line 153
    .end local v7    # "title":Ljava/lang/StringBuilder;
    .end local v16    # "hasContentText":Z
    .end local v17    # "hasPausedText":Z
    .end local v18    # "iconResource":I
    .end local v19    # "intent":Landroid/content/Intent;
    :cond_2a4
    const/16 v17, 0x0

    goto/16 :goto_10f

    .line 170
    .restart local v7    # "title":Ljava/lang/StringBuilder;
    .restart local v16    # "hasContentText":Z
    .restart local v17    # "hasPausedText":Z
    .restart local v18    # "iconResource":I
    :cond_2a8
    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mDescription:Ljava/lang/String;

    move-object/from16 v23, v0

    invoke-static/range {v23 .. v23}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v23

    if-nez v23, :cond_19b

    .line 171
    iget-object v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mDescription:Ljava/lang/String;

    move-object/from16 v23, v0

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 172
    const/16 v16, 0x1

    goto/16 :goto_19b

    .line 179
    :cond_2bf
    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalTotal:J

    move-wide/from16 v26, v0

    move-wide/from16 v0, v26

    long-to-int v0, v0

    move/from16 v25, v0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalCurrent:J

    move-wide/from16 v26, v0

    move-wide/from16 v0, v26

    long-to-int v0, v0

    move/from16 v26, v0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalTotal:J

    move-wide/from16 v28, v0

    const-wide/16 v30, -0x1

    cmp-long v23, v28, v30

    if-nez v23, :cond_30b

    const/16 v23, 0x1

    :goto_2dd
    move/from16 v0, v25

    move/from16 v1, v26

    move/from16 v2, v23

    invoke-virtual {v12, v0, v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setProgress(IIZ)Landroid/support/v4/app/NotificationCompat$Builder;

    .line 180
    sget v23, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v25, 0xb

    move/from16 v0, v23

    move/from16 v1, v25

    if-lt v0, v1, :cond_30e

    .line 181
    if-eqz v16, :cond_1a9

    .line 182
    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalTotal:J

    move-wide/from16 v26, v0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalCurrent:J

    move-wide/from16 v28, v0

    move-object/from16 v0, p0

    move-wide/from16 v1, v26

    move-wide/from16 v3, v28

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->getDownloadingText(JJ)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentInfo(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    goto/16 :goto_1a9

    .line 179
    :cond_30b
    const/16 v23, 0x0

    goto :goto_2dd

    .line 185
    :cond_30e
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    move-object/from16 v23, v0

    sget v25, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_progress_percent:I

    move-object/from16 v0, v23

    move/from16 v1, v25

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v23

    const/16 v25, 0x1

    move/from16 v0, v25

    new-array v0, v0, [Ljava/lang/Object;

    move-object/from16 v25, v0

    const/16 v26, 0x0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalTotal:J

    move-wide/from16 v28, v0

    iget-wide v0, v6, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;->mTotalCurrent:J

    move-wide/from16 v30, v0

    .line 186
    move-object/from16 v0, p0

    move-wide/from16 v1, v28

    move-wide/from16 v3, v30

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->getDownloadingText(JJ)Ljava/lang/String;

    move-result-object v27

    aput-object v27, v25, v26

    .line 185
    move-object/from16 v0, v23

    move-object/from16 v1, v25

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v12, v0}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder;

    goto/16 :goto_1a9

    .line 220
    .restart local v19    # "intent":Landroid/content/Intent;
    :cond_34b
    const/16 v23, 0x0

    goto/16 :goto_267

    .line 226
    .end local v6    # "item":Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification$NotificationItem;
    .end local v7    # "title":Ljava/lang/StringBuilder;
    .end local v12    # "builder":Landroid/support/v4/app/NotificationCompat$Builder;
    .end local v16    # "hasContentText":Z
    .end local v17    # "hasPausedText":Z
    .end local v18    # "iconResource":I
    .end local v19    # "intent":Landroid/content/Intent;
    :cond_34f
    return-void
.end method

.method private updateCompletedNotification(Ljava/util/Collection;)V
    .registers 15
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection",
            "<",
            "Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, "downloads":Ljava/util/Collection;, "Ljava/util/Collection<Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;>;"
    const/4 v12, 0x0

    .line 229
    invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :cond_5
    :goto_5
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_c7

    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;

    .line 230
    .local v2, "download":Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;
    invoke-direct {p0, v2}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->isCompleteAndVisible(Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;)Z

    move-result v9

    if-eqz v9, :cond_5

    .line 234
    new-instance v6, Landroid/app/Notification;

    invoke-direct {v6}, Landroid/app/Notification;-><init>()V

    .line 235
    .local v6, "n":Landroid/app/Notification;
    const v9, 0x1080082

    iput v9, v6, Landroid/app/Notification;->icon:I

    .line 236
    iget v9, v6, Landroid/app/Notification;->flags:I

    or-int/lit8 v9, v9, 0x10

    iput v9, v6, Landroid/app/Notification;->flags:I

    .line 237
    iget-wide v4, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mId:J

    .line 238
    .local v4, "id":J
    iget-object v7, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mTitle:Ljava/lang/String;

    .line 239
    .local v7, "title":Ljava/lang/String;
    if-eqz v7, :cond_33

    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v9

    if-nez v9, :cond_3f

    .line 240
    :cond_33
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    sget v10, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_download_unknown_title:I

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v7

    .line 242
    :cond_3f
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-static {v9}, Lcom/zuimeia/sdk/download/providers/downloads/Downloads;->getAllDownloadsContentURI(Landroid/content/Context;)Landroid/net/Uri;

    move-result-object v9

    invoke-static {v9, v4, v5}, Landroid/content/ContentUris;->withAppendedId(Landroid/net/Uri;J)Landroid/net/Uri;

    move-result-object v1

    .line 245
    .local v1, "contentUri":Landroid/net/Uri;
    iget v9, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mStatus:I

    invoke-static {v9}, Lcom/zuimeia/sdk/download/providers/downloads/Downloads;->isStatusError(I)Z

    move-result v9

    if-eqz v9, :cond_a7

    .line 246
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    sget v10, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_download_failed:I

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 247
    .local v0, "caption":Ljava/lang/String;
    new-instance v3, Landroid/content/Intent;

    const-string v9, "com.zuimeia.sdk.download.DOWNLOAD_LIST"

    invoke-direct {v3, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 256
    .local v3, "intent":Landroid/content/Intent;
    :goto_64
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v9

    const-class v10, Lcom/zuimeia/sdk/download/providers/downloads/ZMDownloadReceiver;

    invoke-virtual {v10}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v3, v9, v10}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 257
    invoke-virtual {v3, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 259
    iget-wide v10, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mLastMod:J

    iput-wide v10, v6, Landroid/app/Notification;->when:J

    .line 260
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    iget-object v10, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-static {v10, v12, v3, v12}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v10

    invoke-virtual {v6, v9, v7, v0, v10}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    .line 262
    new-instance v3, Landroid/content/Intent;

    .end local v3    # "intent":Landroid/content/Intent;
    const-string v9, "android.intent.action.DOWNLOAD_HIDE"

    invoke-direct {v3, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 263
    .restart local v3    # "intent":Landroid/content/Intent;
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v9

    const-class v10, Lcom/zuimeia/sdk/download/providers/downloads/ZMDownloadReceiver;

    invoke-virtual {v10}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v3, v9, v10}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 264
    invoke-virtual {v3, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 267
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mSystemFacade:Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;

    iget-wide v10, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mId:J

    invoke-interface {v9, v10, v11, v6}, Lcom/zuimeia/sdk/download/providers/downloads/SystemFacade;->postNotification(JLandroid/app/Notification;)V

    goto/16 :goto_5

    .line 249
    .end local v0    # "caption":Ljava/lang/String;
    .end local v3    # "intent":Landroid/content/Intent;
    :cond_a7
    iget-object v9, p0, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->mContext:Landroid/content/Context;

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    sget v10, Lcom/zuimeia_sdk_download/downloadprovider/R$string;->zuimeia_sdk_download_notification_download_complete:I

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 250
    .restart local v0    # "caption":Ljava/lang/String;
    iget v9, v2, Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;->mDestination:I

    if-nez v9, :cond_bf

    .line 251
    new-instance v3, Landroid/content/Intent;

    const-string v9, "android.intent.action.DOWNLOAD_OPEN"

    invoke-direct {v3, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .restart local v3    # "intent":Landroid/content/Intent;
    goto :goto_64

    .line 253
    .end local v3    # "intent":Landroid/content/Intent;
    :cond_bf
    new-instance v3, Landroid/content/Intent;

    const-string v9, "com.zuimeia.sdk.download.DOWNLOAD_LIST"

    invoke-direct {v3, v9}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .restart local v3    # "intent":Landroid/content/Intent;
    goto :goto_64

    .line 269
    .end local v0    # "caption":Ljava/lang/String;
    .end local v1    # "contentUri":Landroid/net/Uri;
    .end local v2    # "download":Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;
    .end local v3    # "intent":Landroid/content/Intent;
    .end local v4    # "id":J
    .end local v6    # "n":Landroid/app/Notification;
    .end local v7    # "title":Ljava/lang/String;
    :cond_c7
    return-void
.end method


# virtual methods
.method public updateNotification(Ljava/util/Collection;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection",
            "<",
            "Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 106
    .local p1, "downloads":Ljava/util/Collection;, "Ljava/util/Collection<Lcom/zuimeia/sdk/download/providers/downloads/DownloadInfo;>;"
    invoke-direct {p0, p1}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->updateActiveNotification(Ljava/util/Collection;)V

    .line 107
    invoke-direct {p0, p1}, Lcom/zuimeia/sdk/download/providers/downloads/DownloadNotification;->updateCompletedNotification(Ljava/util/Collection;)V

    .line 108
    return-void
.end method
